@import './reset.scss';

html,
body,
#app {
  width: 100%;
  height: 100%;
}

body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

/*定义滚动条高宽 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}


::-webkit-scrollbar-track-piece {
  background: 0 0;
}

/*定义滑块 背景颜色+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 5px;
  border: 3px solid transparent;
  background-clip: padding-box;
  background-color: #b4c7d0;
}

.ant-layout-sider-trigger {
  background: #e6f7ff !important;
  color: #333 !important;
}

.ant-layout-sider-trigger:hover {
  color: #1890ff !important;
}

.ant-menu-inline,
.ant-menu-vertical,
.ant-menu-vertical-left {
  border-right: 0 !important;
}

.ant-badge .ant-scroll-number.ant-badge-dot {
  top: 24px;
  right: 8px;
}

// 没有数据 显示
.data-kong {
  display: table;
  height: 120px;
  margin: 60px auto 40px;
  padding: 35px 0 0 115px;
  background: url('../assets/null.png') no-repeat 0 0;
  background-size: 100px;

  h5 {
    font-size: 20px;
    color: #8fafc6;
    font-weight: bold;
  }

  p {
    font-size: 14px;
    color: #bdc3c7;
    font-weight: bold;
  }
}
// 处理异常页面
.not-data {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 600px;
  background: #fff;
  .content {
    text-align: center;
  }

  h5 {
    font-size: 72px;
    color: #8fafc6;
    font-weight: bold;
  }

  p {
    font-size: 18px;
    color: #bdc3c7;
    font-weight: bold;
  }
}

.ant-upload-list {
  display: none;
}

// 修改禁用的input背景
.ant-input[disabled] {
  color: rgba(0, 0, 0, .65) !important;
  background-color: #fff !important;
}

.header-container,
.content-container {
  padding: 16px 24px;
  background: #fff;
}

.header-container {
  margin-bottom: 16px;

  h1 {
    margin-bottom: 16px;
    font-size: 24px;
  }
}

 #nprogress .bar {
   background: #1890ff !important; //自定义颜色
 }